package com.hr.lx.config;

import com.hr.lx.entity.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyConfig {
    @Bean
    public ThreadLocal<User> threadLocal() {
        return new ThreadLocal<User>();
    }
}
